package com.letoken.platform.repo.app.po;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Getter
@Setter
@TableName("red_envelope_moneys")
public class RedEnvelopeMoney extends Model<RedEnvelopeMoney> {

    private Integer id;

    @TableField("red_envelope_id")
    private Integer redEnvelopeId;

    @TableField("user_id")
    private Integer userId;

    private Integer owner;

    private Boolean maximum;

    private BigDecimal money;

    @TableField("updated_at")
    private LocalDateTime updatedAt;

}
